html{
    font-size: 16px;
}
body,h2,h3,p,ul{
    margin: 0px;
    padding: 0px;
}
ul{
    list-style: none;
}


/*1导航条*/
.my-navbar{
    background-image: url(image/nav-bg.png);
    /*设置导航条背景图沿 x轴方向平铺。*/
    background-repeat: repeat-x;
}

/*去掉表示logo的 a的内边距*/
.navbar-brand{
    padding: 0px;
}
/*调整logo与items之间的间隔*/
#my-navbar-collapse{
    margin-left: 50px;
}
/*调整items-<a>的下内边距*/
#my-navbar-collapse ul li a{
    /*padding-bottom: 10px;*/
    padding: 15px 5px 10px;
    margin-right: 20px;
}
/*鼠标悬停在 a 上时，显示下边框线*/
#my-navbar-collapse ul li a:hover{
    border-bottom: 2px solid blue;
}

/*给input设置圆角*/
.navbar-form .form-group .form-control{
    border-radius: 17px;
}
/*当屏幕小于768px时，去掉a的下边框线*/
@media screen and (max-width:768px){
    #my-navbar-collapse ul li a:hover{
        border-bottom: none;
    }
}

/*2.banner区域*/
.banner{
    margin-top: 50px;
    height: 400px;
    background-image: url('image/banner.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;

}


/*3.内容区域*/
.content-box{
    margin-top: -30px;
    margin-bottom: 60px;
}
.content-box>div {
    height: 240px;
}
/*内容区域的标题样式*/
.content-box>div>h2{
    height: 30px;
    background-image: url(image/s-bg1.png);
    background-size: auto 100%;
    background-repeat: repeat-x;
    font-size: 1rem;
    color: white;
    line-height: 30px;
    padding-left: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
/*标题下面的 内容样式*/
.content-box .content{
    border: 1px solid gray;
    padding: 10px;
    height: 210px;
}
/*公司动态中的具体样式*/
.content section{
    float: right;
    width: calc(100% - 95px);
}
.content h3{
    font-size: 0.9rem;
    font-weight: bold;
}
.content p{
    font-size: 0.7rem;
}
.content .more{
    font-size: 0.7rem;
    display: block;
    text-align: right;
}
.content .top{
    /*清除浮动*/
    overflow: hidden;
    padding-bottom: 5px;
    border-bottom: 1px dotted gray;
}

.content .bottom ul li a{
    float: left;
    color: #333;
}
.content .bottom ul li span{
    float: right;
}
.content .bottom ul li{
    /*清除浮动*/
    overflow: hidden;
}
.content .bottom{
    padding-top: 10px;
}

/*重新设置 .idea 中的h2的背景图*/
.content-box>.idea>h2{
    background-image: url(image/s-bg2.png);
}

/*产品与服务中的内容样式*/
.servse .content img{
    width: 100%;
    height: 80px;
}
.servse .content .options{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.servse .content .options a{
    width: 45%;
    background-color: gray;
    margin: 10px 0px;
    line-height: 1.5rem;
    color: black;
    text-align: center;
}

/*4.footer*/
footer{
    line-height: 50px;
}
footer ul li{
    margin-left: 20px;
}

@media screen and (max-width:1920px) and (min-width: 1600px){
    .banner{
        height: 480px;
    }
}
@media screen and (max-width:992px){
    .banner{
        height: 300px;
    }
    .content-box{
        margin-bottom: 100px;
    }
    /*调整内容区域三个div之间的上下间隔*/
    .content-box>div{
        margin-bottom: 10px;
    }
    /*p*/
    footer .container .navbar-left{
        float: none !important;
        text-align: center;
    }
    /*ul*/
    footer .container .navbar-right{
        float: none !important;
        display: flex;
        justify-content: center;
    }

}
@media screen and (max-width:768px){
    .banner{
        background-position: 30% 50%;
    }
}
.container .dongtai{
    background-color: red;
}
.container .idea{
    background-color: yellow;
}
.container .servse{
    background-color: pink;
}
